PAC

The Character Meta for the PAC Module.

Functions

playerMeta:addPart(partID)

Adds a PAC3 part to the player. This function adds a PAC3 part to the player's current parts and updates the client.

Parameters

  • partID String

    The ID of the PAC3 part to add.

playerMeta:getParts()

Retrieves the PAC3 parts associated with the player. This function returns a table of PAC3 parts that are currently associated with the player.

Returns

  • table

    A table containing the PAC3 parts.

playerMeta:removePart(partID)

Removes a PAC3 part from the player. This function removes a PAC3 part from the player's current parts and updates the client.

Parameters

  • partID String

    The ID of the PAC3 part to remove.

playerMeta:resetParts()

Resets all PAC3 parts for the player. This function removes all PAC3 parts from the player and updates the client.

playerMeta:syncParts()

Synchronizes the player's PAC3 parts with the client. This function sends a network message to the client to synchronize the player's PAC3 parts.